﻿using CommunityToolkit.Mvvm.ComponentModel;
using FreeSql.Internal.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace WPF.Core.Dtos
{
    public class ToDoModel : BaseModel
    {
        public string Title { get; set; }
        public string Content { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        public class ToDoPagingInfo : PageingInfo, INotifyPropertyChanged
        {
            private string name = "";

            public string Name
            {
                get { return name; }
                set { name = value;  RaisePropertyChanged(); }   
            }         
        }
    }
}
